package org.infoset.xml;

/**
 * This interface represents a node with data.  Data is represented by an
 *  object whose type is not specified by this interace.
 * @author <a href="mailto:alex@milowski.com">R. Alexander Milowski</a>
 */
public interface Data {

   /**
    * Returns the data object value associated with this node.
    * @return The data object value.
    */
   Object getTypedValue();

   /**
    * Sets the data object value associated with this node.
    * @param value The data object value to set.
    */
   void setTypedValue(Object value);

}
